package com.hn.y;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//@MapperScan({"com.hn.y.mapper.second.mapper","com.hn.y.mapper.primary.mapper.UserMapper"})
@SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class) //排除原生快速配置类
public class MultiDataSourceApplication {

    public static void main(String[] args) {
        SpringApplication.run(MultiDataSourceApplication.class, args);
    }
}


